#region Using Statements
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using System.Collections.Generic;
#endregion

namespace MilwormsGameData
{
    public class Item : Gear
    {
        #region Content Type Reader


        /// <summary>
        /// Read an Item object from the content pipeline
        /// </summary>
        public class ItemReader : ContentTypeReader<Item>
        {
            protected override Item Read(ContentReader input, Item existingInstance)
            {
                Item item = existingInstance;
                
                if (item == null)
                {
                    item = new Item();
                }



                // read gear settings
                input.ReadRawObject<Gear>(item as Gear);

                return item;
            }
        }


        #endregion
    }
}
